→Generic data type
according to →IEC-standard: →data type which represents more than one type of data
Neuron Power Engineer is using generic data types for certain inputs/outputs resp. return values in some system blocks for the application. Compare: →Overloading and →Typed
Here the hierarchy of the generic data types and the appropriate elementary data types:
generic data types |
|
|
|
|
|
appropriate elementary data types |
---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note on how to interpret the table: If the last column does not list elementary data types for a generic data types, this generic data type includes the elementary data types of those generic data types that are subordinated.
-
Example 1: The generic data type
ANY
is the highest possible generalization of the data types. Hence,ANY
includes all elementary data types (ANY_ELEMENTARY
) and all derived data types (ANY_DERIVED
). -
Example 2: The generic data type
ANY_INT
includes the elementary data types of the subordinated generic data typesANY_UNSIGNED
andANY_SIGNED
. Hence,ANY_INT
includes:USINT
,UINT
,UDINT
,ULINT
,SINT
,INT
,DINT
,LINT